@import './config.scss';
@import './mixins.scss';

.theme__dark {
  a { color: $dark-theme-gray-smoke; }
  .label { color: $dark-theme-gray-lightest; }
  .footnote { color: $dark-theme-gray-lightest; }
}

h1 {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -1px;
  margin-bottom: 25px;
}

h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -1px;
  margin-bottom: 25px;
  margin-top: 55px;

  &:first-of-type { margin-top: 0; }
}

p {
  margin-bottom: 10px;
  line-height: 1.7rem;

  &:last-of-type { margin-bottom: 0; }
}

strong { font-weight: bold; }

a {
  color: $theme-text-color;
  text-decoration: none;

  &.button {
    background: none;
    border: 2px solid $theme-brand-primary;
    border-radius: 3px;
    color: $theme-brand-primary;
    display: inline-block;
    padding: 10px 20px;
    position: relative;
    text-align: center;
    transition: background .5s, color .5s;

    &:hover {
      background: darken($theme-brand-primary, 5%);
      color: #FFF;
    }
  }

  &.link { color: $theme-brand-primary; }
}

.error-message, .error-message:last-of-type {
  color: $theme-brand-danger;
  margin: 10px 0;
}

.center { text-align: center; }

.label { @include formLabel(); }

.footnote {
  color: $theme-gray-light;
  font-size: 12px;
}
